package lab02.test04;

/**
 * Created by JAVA on 2017/10/15.
 */
public class Test04 extends Staff {
    public static void main(String[] args) {
        Staff staff=new Staff();
        staff.name=staff.getName();
        staff.num=staff.getNum();
        staff.salary=staff.getSalary();
        staff.pay=staff.pay();
        staff.addsalary=staff.Addsalary();
        System.out.println("姓名："+staff.name);
        System.out.println("工作号："+staff.num);
        System.out.println("基本薪水："+staff.salary);
        System.out.println("薪水增长额："+staff.addsalary);
        System.out.println("工资总额："+staff.pay);
    }

}
